package model.DTO;

public class EmployeeEditPasswordDTO {
    private int empId;
    private String newPassword;
    private String oldPassword;

    public EmployeeEditPasswordDTO() {
    }

    public EmployeeEditPasswordDTO(int empId, String newPassword, String oldPassword) {
        this.empId = empId;
        this.newPassword = newPassword;
        this.oldPassword = oldPassword;
    }

    /**
     * 获取
     * @return empId
     */
    public int getEmpId() {
        return empId;
    }

    /**
     * 设置
     * @param empId
     */
    public void setEmpId(int empId) {
        this.empId = empId;
    }

    /**
     * 获取
     * @return newPassword
     */
    public String getNewPassword() {
        return newPassword;
    }

    /**
     * 设置
     * @param newPassword
     */
    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    /**
     * 获取
     * @return oldPassword
     */
    public String getOldPassword() {
        return oldPassword;
    }

    /**
     * 设置
     * @param oldPassword
     */
    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String toString() {
        return "EmployeeEditPasswordDTO{empId = " + empId + ", newPassword = " + newPassword + ", oldPassword = " + oldPassword + "}";
    }
}
